package com.bwie.service;

import com.bwie.pojo.Type;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 陶仕豪
* @description 针对表【tb_type】的数据库操作Service
* @createDate 2025-05-24 10:28:19
*/
public interface TypeService extends IService<Type> {

    Result addType(Type type);

    Result deleteType(Integer typeId);

    Result getTypeTreeList();

    Result setTypeStatus(Integer typeId, Integer typeStatus);

    Result deleteTypeById(Integer typeId);

    Result uploadFile(MultipartFile file);

    Result updateType(Type type);

    Result getTypeSelectTreeList();
}
